package org.wjk.exception;

public enum FailureMsg {
    SYSTEM_ERROR(5000,"系统内部错误，请稍后重试"),
    LOGIN_FAILURE(5001,"登陆失败，请稍后重试")
    ;
    private final Integer resCode;
    private final String resMsg;

    FailureMsg(Integer resCode, String resMsg) {
        this.resCode = resCode;
        this.resMsg = resMsg;
    }

    public Integer getResCode() {
        return resCode;
    }

    public String getResMsg() {
        return resMsg;
    }
}
